package com.foreknow.demo2;

/**
 * 循环的控制
 * continue轮空/break中断
 */
public class LoopContinue {
    public static void main(String[] args) {
        for (int i = 1;i <= 10;i ++){
            if (i % 3 == 0){
                //continue;
                break;
            }
            System.out.println("i = " + i);
        }
    }
}
